package edu.hm.compiler.parser.grammar;

import edu.hm.compiler.parser.grammar.predicate.Predicate;

/**
 * @author Saruman
 */
public class Head
{
    private final Predicate predicate;

    /**
     * @param predicate
     */
    public Head( Predicate predicate )
    {
        this.predicate = predicate;
    }

    public Predicate getPredicate()
    {
        return this.predicate;
    }

    @Override
    public String toString()
    {
        return "Head [predicate=" + predicate + "]"; //$NON-NLS-1$ //$NON-NLS-2$
    }
}
